Fix #417: Sanitize App traits (add js.JSApp trait)