tweak javascript for persona