Javascript Edits