Browser control script for pwf