added js
added app.js
adding some javascript calls in functions
added T1 styles as per @mxmnr