code formatting started. it kinda works

found cause of relative path issue in require.js with dependencies.