add push notifications plugin
handle installation in javascript instead