added simple flashing animation.
fixed Integer issue with Pjs version.
Merge pull request #13 from asalga/bug3

Bug3