BISERVER-8738 - 

Changed sync to async calls. Added spinner via pen.require. Browser templates moved to a new file and being used with pen.require on browser.js