modified javascriptods