Score Keeper in Obj-C and JS