Add page load binding to Thin function.