fixes for proper browser packaging