Cleaned code, moved to include file
Merge pull request #379 from 18F/fix/move_js_to_include

Cleaned code, moved to include file