Using JS instead of coffee