Fixed JS injection, head and footer