adding http to JS