Implement coffee script functionality