removed duplicated _self declaration, added ; after function definition. these cause warning at strict syntax check.