added js function names