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

ranger will not ask which program to use to open a javascript file anymore, it will use the editor defined by `$EDITOR`