fixed _.bindAll usage incompatible with underscore 1.5

also fixed incompatibility with almond loader