fix minor bugs, add p.swf and p.php files

fixed Object.defineproperties getter/setter bug - outside of the class
function, defining the getter/setters only once, preventing a
"redefining" error.

Added the p.php processing script and the p.swf helper file for
audio/upload purposes.