Cleaned up code, moved stepwise plugin to clerestory.js