Javascript trainer

@Calvin Chan