Make javascript UI changes in the correct location

In my last pull request the changes were in the generated files instead of the source files.....these are the same changes, but in the source files.

Sorry for the mistake on the last request.