refactor(JavaScript): add JavaScript