Add a StaticPages controller
Added view and javascript file for static pages