added imrelay.js and rrule.js, removed unused libraries