move js to cdns to resolve #1 and refactor other assets