removed private vars from MyClass template
moved jquery plugin private var on template away from global space