Move step js into a file; small fixes.
curvy lines and the whole things moves.