add placeholder threshold query
fix staticHandler (renamed from jsHandler)