Put map JS in onready event trigger