remove ARC build error. fixed JS errors in plugin files