Fixed javascript map resize

- Also removed file that was meant to be removed.