Initial commit of port to RequireJS