Correct script loading order
Merge pull request #3 from OliverJAsh/patch-2

Correct script loading order