make compatible with coffee-script/register