update skeleton to use bower to manage third-party components.
move app code to js