added default javascript functions and set seo handling up