HML5 compressed files- SyntaxError: illegal character

Amazon AWS S3 does not use .htaccess files to specify Content-Encoding, rather it has its own Metadata-based system (Working with object metadata - Amazon Simple Storage Service).

Iiuc .htaccess is a Apache web server specific configuration file.