Namespace js and upgrade sanitize