Initial Commit

Adding pre-existing extend.js code