changed location of cursor pointer, added js template files