Update logic.php

- Add logic.js for own scripting