Changes to JS, open window buttons added + url field, top be fixed