modified js and css for javascript-api book