Finished JS work #2.