Changed From JS to Coffee