Fixing how javascript files are included on the application layout.

For issue #10.