Normalize line endings
Load JS files from protocol-relative URI.
Tested up to WP 3.6.1.