Minor clean up on GetConditions.coffee

Removed unused dependencies and cleaned up logic a bit.