Use JApplicationHelper
Merge pull request #18 from wilsonge/patch-1

Use JApplicationHelper