created basic js file

Properly linked and tested js file