add javascript file type to mime.types and rifle.conf