Put the javascript tag at the end of layout application