begin js specs