added main.js
use jasmine