set image background
refactor code to OO style
update position when onMessage triggered
indent.....
use prototype
remove unused data
Merge pull request #1 from loddit/master

refactor code to OO style

prototype是用来节省代码的啊...