Added CommonJS/Browserify support; PHP handler update; .htaccess security addition.