Finished JS work #1.