Fixed script issue with page property binding