updated plugin to make a jquery ajax call for cleaner code
updated readme with example usage