#707866 by meatsack - Changed js.php files to js and remove PHP code from js file. #xxxxxx by pixture - fixed flash upload issue with Mac OS X.