refactor getCategory function
Merge pull request #34 from jmhinric/js_model

refactor getCategory function