add .js support