implemented logic to render html via phantomjs whenever the query param "robot" is set to true