Got processing to recognize array in getBeats

just have to call getBeats early and let it load beats array because
processing does not wait for javascript function to finish before moving
to next line.
Merge branch 'develop' of https://github.com/augustocorvalan/MeatBeat into develop