Refactored show function
Added Jasmine JS specs, major refactor of javascript
Use class variable