added chaplin.js all dependency libraries and base code for js