Added prevent default on js