javascript flash code