Extract jquery.railsdatetime plugin