Moved javascript execution to Init instead of PostInit and let IDEA format all the javascript so it isn't all over the place.