Run js code in page