adding javascript version of off
updating readme