reinstated map js in layout for production