Added base Resist.js file