A problem with 'http://...' when using PHP to write JS