should you wrap this in a doc ready (in coffescript it's just $ ->)