Reformatting with Require.js...

Still in process - use test/twyg.js for testing