rewrite jguery plugin to more understandable view