adding type of return in domready.coffee