update from rb to js comments