This initialization call should be put somewhere else. I can help you clean up the js later.