modified packagejs and created amazon.js
various modification