add javascript test technology: jasmine and sinonjs