Use simple JS instead of Coffee magic