moved script hunks after body tag to allow chrome working