Horspool by JavaScript

##useage:

 match('who is liuhzz','liuhzz')
 
 Returns the position of a pattern