isolated js code