fix some JSLint error: using dot notation
Merge pull request #316 from xmujay/20130505_js

fix some JSLint error: using dot notation