Load plugins and javascript inits conditionally, enqueue jquery and global.js in footer.