converted /spec/init to coffee script and removed the two helper functions for now.