added bit more js