small change in allocatehardware js
Merge pull request #161 from Rakeshadlagatta/master

small change in allocatehardware js