added test

Added first batch of jasmine testing for script.js