JavaScript plugin build fix for keyboard focus manager