fixing bug with javascript and bumping version