Fifteen puzzle on a board of an arbitrary dimension with automatic decision implemented using jQuery UI and Underscore.js.