Cleaned up after #1896. Removed jQuery specific code, did some minor adjustments to make pointPlacement of "on" equal 0 and "between" equal to 0.5.