Added remote-add functionality. Added Javascript code to README