Update code.js

Removed dodgy timer code and replaced with intervals.. also added search lights