added map js stuff