Added the script tag. getting ready build the single page application.
I decided to use template style and ditch the inline script.