Use proper ( I think ) method of making it a jQuery plugin