Implement lazy js load wraper