Pi Note updated

AS3 and JS version of pi note