Renamed kp.js to castle4 for sake of organization