use own center implementation instead of relying on jquery
Merge pull request #4 from cedrics/include_center

use own center implementation instead of relying on jquery