fix some js in chrome and download php