Use Angular.JS instead of a home-made solution <3