remove type of request in js
merged after regular git issue