Added Jasmine Testing

Also moved javascript to seperate file for easier refrencing.
Ready to start doing TeamCity stuff