Hopefully working init.js