changed page amazon to javascript