removed onReady from jsanddom so I could properly test the functions