added filetype so we on map when editing js