Removed dependancy on file having .js at the end.

I'm not sure why, but it seems to have changed more line in the dist
folder than I was expecting.