Separated leap code into scripts/leap_input.js