Pasted preexisting javascript