Added AMD support and catching security errors. Removed new code base architecture
Added AMD support and catching security errors. Removed new code base architecture

caolan/cookie.js,js-coder/cookie.js,florian/cookie.js,js-coder/cookie.js