[#909] moved bac JS libraries from footer to head
Merge pull request #917 from akvo/issue/909

[#909] moved bac JS libraries from footer to head