Finish basic logic in Update()

Finish basic logic in Update(). It now checks if the player loose at top
or bottom and it also checks wall collisions inverting the velocity of
the ball. Besides, fix a JS error in restartBtn definition.

Contact: joaquin@isla.io