adding js preventDefault
move extend settings to _layout partial
refs #33 almost done