added jquery functions for .dotdotdot and datepicker as well as page actions to make jquery compatible with turbolinks.