libFSS: proper JS for formPopup functions. This also fix form position bug