coffeescript and global models