parseParams javascript plugin