refactoring, added new versions of libs, new js structure, added URL methods