Moving maia.js to footer