solved js issue on vehicle new and edit