Integrate raspberry-remote for the switch module. Finished the modul-javascript api.