add file extension to js include