fixes #1: migrate prototyp to jquery