GUI-252
moved generateKeys javascript into file. needed to hard-code request paths since it not longer gets processed by template engine