Cleaned up init.js