If there is a meta file, it's sorting should be used.
code cleanup
code cleanup
Use only spaces, currently spaces and tabs wered mixed
Fixed js reference error

In case that the slider is removed, e.g. because of an ajax navigation
don't throw an error
Counting should start at 1
Merge pull request #3 from rolandschuetz/master

If there is a meta file, it's sorting should be used.